.table-list {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: var(--ycy-gap-base);
  border-radius: var(--el-border-radius-base);
  background-color: var(--el-bg-color-page);
  transition: var(--ycy-transition-base);

  &-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ycy-gap-base);
    margin-bottom: var(--ycy-gap-base);
    border-radius: var(--el-border-radius-base);
    background-color: var(--el-fill-color-blank);
  }

  &-search {
    padding: var(--ycy-gap-base);
    padding-bottom: 0;
    margin-bottom: var(--ycy-gap-base);
    border-radius: var(--el-border-radius-base);
    background-color: var(--el-fill-color-blank);
    display: flex;
    flex-wrap: wrap;

    .el-form-item {
      margin-right: var(--ycy-gap-base);
      margin-bottom: var(--ycy-gap-base);

      :deep(.el-form-item__label) {
        font-weight: bold;
      }

      :deep(.el-form-item__content) {
        flex-wrap: unset;
      }

      &:last-child { 
        margin-left: auto;
        margin-right: 0;
      }
    }
  }

  &-table {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    min-height: 0; // 关键点，允许内部溢出

    .el-table {
      border-radius: var(--el-border-radius-base) var(--el-border-radius-base) 0 0;
    }

    &-pagination {
      border-radius: 0 0 var(--el-border-radius-base) var(--el-border-radius-base);
    }
  }
}